package com.muse.mapstruct;

/**
 * MapStruct演示例子
 */
public class MapStructTest {
    public static void main(String[] args) {
        Car car = new Car("Germany", 5, "BMW");
        CarDto carDto = CarMapper.INSTANCE.carToCarDto(car);
        System.out.println("car=" + car);
        System.out.println("carDto=" + carDto);
    }
}
